package shuishijie.suishijie.model;

import java.util.List;

/**
 * Created by mindx on 2017/8/29.
 */

public class AreaInfo {

    public List<Area> root;


    public static class Area {
        @Override
        public String toString() {
            if (name.length() > 6) {
                name = name.substring(0, 6) + "...";
            }
            return name;
        }

        /**
         * zipcode : 4521986
         * name : 东城区
         */

        public String zipcode = "";
        public String name = "";
        public List<Area> children;

    }
}
